package fightplan.persistence.xml;

import java.io.File;

import javax.xml.bind.JAXBContext;
import javax.xml.bind.Unmarshaller;

public class XmlImportTest {

	/**
	 * Description of what the method main does
	 * 
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
		JAXBContext context = JAXBContext.newInstance("fightplan.persistence.xml.kyu");

		Unmarshaller unmarshaller = context.createUnmarshaller();

		Object object = unmarshaller.unmarshal(new File("anmeldung2.xml"));

		System.out.println(object);
	}

}
